package com.ronri.ams.bean;

/**
 * 文件：ams.java
 * 包名：com.ronri.ams.bean;
 * 说明：
 * 作者：MS During
 * 日期：2017/5/22
 * 历史：
 */
public class template {

    /**
     * code : 0
     * data : {"template_id":1,"template_name":"蔬菜类"}
     * message : success
     * success : true
     */

    private int code;
    private DataBean data;
    private String message;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * template_id : 1
         * template_name : 蔬菜类
         */

        private int template_id;
        private String template_name;

        public int getTemplate_id() {
            return template_id;
        }

        public void setTemplate_id(int template_id) {
            this.template_id = template_id;
        }

        public String getTemplate_name() {
            return template_name;
        }

        public void setTemplate_name(String template_name) {
            this.template_name = template_name;
        }
    }
}
